!!! 5
%html
  %head
    %title Karttapalvelu
    = stylesheet_link_tag 'application'
    = yield :css_includes
    = javascript_include_tag 'application'
    %script{:type => "text/javascript", :src  => "/openlayers/OpenLayers.js"}
    = yield :javascript_includes
    = csrf_meta_tags

  %body
    %header
      %h1#title Karttapalvelu
      = yield :logout_button
      = yield :search_field
      
      
    #spacer    
    
    #main
      - if flash[:notice]
        #notice.message= flash[:notice]
      - elsif flash[:warning]
        #warning.message= flash[:warning]

      = yield
    
    %footer
      &copy; Tuho-ryhmä. Kartta- ja nimistöaineisto: Maanmittauslaitos.